﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<%@ Register Src="LinksControl.ascx" TagName="LinksControl" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Home Page</title>
    <link href="CSS/StyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/home.css" rel="stylesheet" type="text/css" />
    <link href="CSS/StyleSheet_Responsive.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="container">
        <form id="Form1" class="well span11 text-center" runat="server">
        <uc1:PageControl ID="PageControl1" runat="server" />
               <div class="navbar navbar-inverse">
            <div class="navbar-inner">
                <ul class="nav myFont">
                    <li class="active"><a href="Default.aspx">HOME</a></li>
                    <li><a href="About.aspx">ABOUT</a></li>
                    <li><a href="Contact.aspx">CONTACT</a></li>
                    <li><a href="Help.aspx">HELP</a></li>
                </ul>
            </div>
        </div>
        <h3 class="myFont">
            &nbsp;&nbsp;&nbsp;Please Sign In</h3>
        <table class="table container text-left">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Label" class="myFont myFontSz">User Name:</asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtUName" runat="server" class="span4" type="username" placeholder="Type your Username..."
                        MaxLength="20" Height="27px" TabIndex="1" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator"
                        ControlToValidate="txtUName"> You need to type your Username </asp:RequiredFieldValidator>
                    <asp:CustomValidator runat="server" ID="CustomValidator2" ControlToValidate="txtUName"
                        Text="Username length should be more than 6 digits" ClientValidationFunction="clientValidate"
                        Display="Dynamic"> </asp:CustomValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ControlToValidate="txtPWord"
                        ValidationExpression="[a-zA-Zs0-9]{6,20}$" AutoPostBack="true" Display="Static"
                        ErrorMessage="Username must contain only Alpha-Numeric Characters" EnableClientScript="False"
                        runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Label" class="myFont myFontSz">Password:</asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPWord" runat="server" class="span4" placeholder="Type your Password..."
                        TextMode="Password" MaxLength="20" Height="27px" TabIndex="2" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="RequiredFieldValidator"
                        ControlToValidate="txtPWord"> You need to type your Password </asp:RequiredFieldValidator>
                    <asp:CustomValidator runat="server" ID="CustomValidator1" ControlToValidate="txtPWord"
                        Text="Password length should be more than 6 digits" ClientValidationFunction="clientValidate"
                        Display="Dynamic"> </asp:CustomValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ControlToValidate="txtPWord"
                        ValidationExpression="[a-zA-Zs0-9]{6,20}$" AutoPostBack="true" Display="Static"
                        ErrorMessage="Password must contain only Alpha-Numeric Characters" EnableClientScript="False"
                        runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td >
                    <p align="left">
                        <asp:Button ID="butLogin" runat="server" Text="Login" class="btn btn-primary" TabIndex="3"
                            Font-Bold="True" Width="120px"/>
                        <asp:Button ID="butForgotPWord" runat="server" class="btn btn-link" Text="Did you forget your PASSWORD?"
                            TabIndex="5" Font-Bold="True" Font-Size="Small"  />
                    </p>
                </td>
                <td>
                </td>
            </tr>
        </table>
        </form>
    </div>
    <uc2:LinksControl ID="LinksControl1" runat="server" />
</body>
</html>
